import React, { Component, PropTypes } from 'react'
import Immutable from 'Immutable'
import pureRender from "pure-render-decorator"


@pureRender
export default class DefaultInput  extends Component {
  render() {
    const {options,onChange,label,value,className,children} = this.props
    console.log(99,value);
    return (
      <section className="default-input {className}">
        <span>{label}</span>
        <input value={value} onChange={onChange}></input>
        {children}
      </section>
    )
  }
}
